<?php
if (!defined('MEDIAWIKI')) {
        echo 'Ajouter dans LocalSettings.php la ligne suivante : 
            require_once( "\$IP/extensions/MyExtension/MyExtension.php" );';
        exit( 1 );
}
 
$wgExtensionCredits['specialpage'][] = array(
        'path' => __FILE__,
        'name' => 'mourad',
        'author' => 'mourad nedjahi',
        'url' => 'https://www.mediawiki.org/wiki/mourad',
        'descriptionmsg' => 'un-test',
        'version' => '0.0.0',
);
 
$dir = dirname(__FILE__) . '/';
 
$wgAutoloadClasses['MouradExtension.php'] = $dir . 'MouradExtension.php'; 
$wgExtensionMessagesFiles['Mourad'] = $dir . 'Mourad.i18n.php'; 
$wgExtensionMessagesFiles['MouradAlias'] = $dir . 'Mourad.alias.php'; 
$wgSpecialPages['Mourad'] = 'MouradExtension';